Optimal. Leaf size=140 \[ \frac{(b d-a e) (a B e-4 A b e+3 b B d) \tanh ^{-1}\left (\frac{\sqrt{e} \sqrt{a+b x}}{\sqrt{b} \sqrt{d+e x}}\right )}{4 b^{3/2} e^{5/2}}-\frac{\sqrt{a+b x} \sqrt{d+e x} (a B e-4 A b e+3 b B d)}{4 b e^2}+\frac{B (a+b x)^{3/2} \sqrt{d+e x}}{2 b e} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.272019, antiderivative size = 140, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167 \[ \frac{(b d-a e) (a B e-4 A b e+3 b B d) \tanh ^{-1}\left (\frac{\sqrt{e} \sqrt{a+b x}}{\sqrt{b} \sqrt{d+e x}}\right )}{4 b^{3/2} e^{5/2}}-\frac{\sqrt{a+b x} \sqrt{d+e x} (a B e-4 A b e+3 b B d)}{4 b e^2}+\frac{B (a+b x)^{3/2} \sqrt{d+e x}}{2 b e} \]
Antiderivative was successfully verified.
[In] Int[(Sqrt[a + b*x]*(A + B*x))/Sqrt[d + e*x],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 18.2487, size = 131, normalized size = 0.94 \[ \frac{B \left (a + b x\right )^{\frac{3}{2}} \sqrt{d + e x}}{2 b e} + \frac{\sqrt{a + b x} \sqrt{d + e x} \left (4 A b e - B a e - 3 B b d\right )}{4 b e^{2}} + \frac{\left (a e - b d\right ) \left (4 A b e - B a e - 3 B b d\right ) \operatorname{atanh}{\left (\frac{\sqrt{b} \sqrt{d + e x}}{\sqrt{e} \sqrt{a + b x}} \right )}}{4 b^{\frac{3}{2}} e^{\frac{5}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((B*x+A)*(b*x+a)**(1/2)/(e*x+d)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.122692, size = 130, normalized size = 0.93 \[ \frac{(b d-a e) (a B e-4 A b e+3 b B d) \log \left (2 \sqrt{b} \sqrt{e} \sqrt{a+b x} \sqrt{d+e x}+a e+b d+2 b e x\right )}{8 b^{3/2} e^{5/2}}+\frac{\sqrt{a+b x} \sqrt{d+e x} (a B e+b (4 A e-3 B d+2 B e x))}{4 b e^2} \]
Antiderivative was successfully verified.
[In] Integrate[(Sqrt[a + b*x]*(A + B*x))/Sqrt[d + e*x],x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.028, size = 376, normalized size = 2.7 \[{\frac{1}{8\,{e}^{2}b}\sqrt{bx+a}\sqrt{ex+d} \left ( 4\,\ln \left ( 1/2\,{\frac{2\,bxe+2\,\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }\sqrt{be}+ae+bd}{\sqrt{be}}} \right ) aA{e}^{2}b-4\,\ln \left ( 1/2\,{\frac{2\,bxe+2\,\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }\sqrt{be}+ae+bd}{\sqrt{be}}} \right ){b}^{2}dAe-B\ln \left ({\frac{1}{2} \left ( 2\,bxe+2\,\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }\sqrt{be}+ae+bd \right ){\frac{1}{\sqrt{be}}}} \right ){a}^{2}{e}^{2}-2\,\ln \left ( 1/2\,{\frac{2\,bxe+2\,\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }\sqrt{be}+ae+bd}{\sqrt{be}}} \right ) aBdeb+3\,\ln \left ( 1/2\,{\frac{2\,bxe+2\,\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }\sqrt{be}+ae+bd}{\sqrt{be}}} \right ){b}^{2}{d}^{2}B+4\,B\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }xeb\sqrt{be}+8\,\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }Aeb\sqrt{be}-6\,\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }Bdb\sqrt{be}+2\,B\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }ae\sqrt{be} \right ){\frac{1}{\sqrt{ \left ( bx+a \right ) \left ( ex+d \right ) }}}{\frac{1}{\sqrt{be}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((B*x+A)*(b*x+a)^(1/2)/(e*x+d)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*sqrt(b*x + a)/sqrt(e*x + d),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.436242, size = 1, normalized size = 0.01 \[ \left [\frac{4 \,{\left (2 \, B b e x - 3 \, B b d +{\left (B a + 4 \, A b\right )} e\right )} \sqrt{b e} \sqrt{b x + a} \sqrt{e x + d} +{\left (3 \, B b^{2} d^{2} - 2 \,{\left (B a b + 2 \, A b^{2}\right )} d e -{\left (B a^{2} - 4 \, A a b\right )} e^{2}\right )} \log \left (4 \,{\left (2 \, b^{2} e^{2} x + b^{2} d e + a b e^{2}\right )} \sqrt{b x + a} \sqrt{e x + d} +{\left (8 \, b^{2} e^{2} x^{2} + b^{2} d^{2} + 6 \, a b d e + a^{2} e^{2} + 8 \,{\left (b^{2} d e + a b e^{2}\right )} x\right )} \sqrt{b e}\right )}{16 \, \sqrt{b e} b e^{2}}, \frac{2 \,{\left (2 \, B b e x - 3 \, B b d +{\left (B a + 4 \, A b\right )} e\right )} \sqrt{-b e} \sqrt{b x + a} \sqrt{e x + d} +{\left (3 \, B b^{2} d^{2} - 2 \,{\left (B a b + 2 \, A b^{2}\right )} d e -{\left (B a^{2} - 4 \, A a b\right )} e^{2}\right )} \arctan \left (\frac{{\left (2 \, b e x + b d + a e\right )} \sqrt{-b e}}{2 \, \sqrt{b x + a} \sqrt{e x + d} b e}\right )}{8 \, \sqrt{-b e} b e^{2}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*sqrt(b*x + a)/sqrt(e*x + d),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x+A)*(b*x+a)**(1/2)/(e*x+d)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.232362, size = 236, normalized size = 1.69 \[ \frac{{\left (\sqrt{b^{2} d +{\left (b x + a\right )} b e - a b e} \sqrt{b x + a}{\left (\frac{2 \,{\left (b x + a\right )} B e^{\left (-1\right )}}{b^{2}} - \frac{{\left (3 \, B b^{3} d e + B a b^{2} e^{2} - 4 \, A b^{3} e^{2}\right )} e^{\left (-3\right )}}{b^{4}}\right )} - \frac{{\left (3 \, B b^{2} d^{2} - 2 \, B a b d e - 4 \, A b^{2} d e - B a^{2} e^{2} + 4 \, A a b e^{2}\right )} e^{\left (-\frac{5}{2}\right )}{\rm ln}\left ({\left | -\sqrt{b x + a} \sqrt{b} e^{\frac{1}{2}} + \sqrt{b^{2} d +{\left (b x + a\right )} b e - a b e} \right |}\right )}{b^{\frac{3}{2}}}\right )} b}{4 \,{\left | b \right |}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*sqrt(b*x + a)/sqrt(e*x + d),x, algorithm="giac")
[Out]